﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OnlineMovieTicket.Services.IServices;
using OnlineMovieTicket.Services.Services;
using OnlineMovieTicket.Model;

namespace OnlineMovieTicket.WebForms.UserControl
{
    public partial class TopTenMovies : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //IMoviesService movieSrv = new MoviesService();
            //IList<Movies> movieList = movieSrv.GetMovieByRating();         
            
            //TableRow movieRow = new TableRow();
            //TableCell movieName = new TableCell();
            //Table movieTbl = new Table();

            //lstTopTenMovie.DataSource = movieList;
            //lstTopTenMovie.DataBind();
            //foreach (Movies mv in movieList)
            //{
            //    movieName.Text = mv.MovieName;
            //    movieRow.Cells.Add(movieName);
            //    movieTbl.Rows.Add(movieRow);
            //}

            
        }

        protected void bllMovieList_Click(object sender, BulletedListEventArgs e)
        {

        }
    }
}